#pragma once
#include <string>


class CUploadInfo
{
public:
	CUploadInfo();
	virtual  ~CUploadInfo();

public:
	int ExecuteUpload(std::string programVersion, std::string frontVersion, std::string urlUpload);
private:
	bool postUpdateInfo(std::string url, const std::string reqBody, std::string &respBody);
	std::string CreateXmlString(std::string windowVersion, std::string programVersion, std::string frontVersion, std::string localIp, std::string macAddress, std::string netAddress);
	std::string utf82StringUpload(const std::string & str);
};
